package cn.luischen.model;

import static org.junit.Assert.*;
import static org.mockito.ArgumentMatchers.*;
import static org.mockito.Mockito.*;
import org.junit.Rule;
import org.junit.runner.RunWith;
import org.junit.rules.ExpectedException;
import org.junit.Test;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.core.classloader.annotations.PowerMockIgnore;
import org.powermock.modules.junit4.PowerMockRunner;
import org.powermock.reflect.Whitebox;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.MockitoAnnotations;
import org.mockito.stubbing.Answer;
import java.lang.reflect.Method;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.TypeReference;
import com.alibaba.fastjson.parser.ParserConfig;
import java.util.Map;
import java.util.List;
import com.unitspirit.runtime.*;

/**
 * The class contains tests for the class cn.luischen.model.OptionsDomain.
 *
 * @generatedBy UnitSpirit CreateTemplateTestFile4
 * @version 1.0.9.11 
 */
@PowerMockIgnore({ "javax.management.*" })
public class OptionsDomain_getName_WGTest {
	@Rule
	public ExpectedException unitspirit_thrown = ExpectedException.none();

	/**
	 * 测试方法初始化.
	 * 
	 * @throws Exception 
	 *         if the initialization fails for some reason 
	 *  
	 * @generatedBy UnitSpirit at 2021-11-19 10:54:49
	 */
	@org.junit.Before
	public void setUp() throws Exception {
		try {
			GlobalUnitInit.init();
			MockitoAnnotations.initMocks(this);
			ParserConfig.getGlobalInstance().setAutoTypeSupport(true);
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104103_305_5_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "social_jianshu");
		Whitebox.setInternalState(unitspirit_fixture, "description",
				"缁狅拷娑旓箑婀撮崸锟�");
		Whitebox.setInternalState(unitspirit_fixture, "value", "123");

		//返回值定义 
		String result_expected = "social_jianshu";

		String unitspirit_result_d = "social_jianshu";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104103_305_6_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "social_github");
		Whitebox.setInternalState(unitspirit_fixture, "description", "github");
		Whitebox.setInternalState(unitspirit_fixture, "value", "");

		//返回值定义 
		String result_expected = "social_github";

		String unitspirit_result_d = "social_github";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104103_305_7_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "social_csdn");
		Whitebox.setInternalState(unitspirit_fixture, "description", "csdn");
		Whitebox.setInternalState(unitspirit_fixture, "value", "111");

		//返回值定义 
		String result_expected = "social_csdn";

		String unitspirit_result_d = "social_csdn";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104103_305_8_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "site_title");
		Whitebox.setInternalState(unitspirit_fixture, "description",
				"缂冩垹鐝弽鍥暯");
		Whitebox.setInternalState(unitspirit_fixture, "value", "11122");

		//返回值定义 
		String result_expected = "site_title";

		String unitspirit_result_d = "site_title";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104103_305_9_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "site_record");
		Whitebox.setInternalState(unitspirit_fixture, "description", "婢跺洦顢嶉崣锟�");
		Whitebox.setInternalState(unitspirit_fixture, "value", "222");

		//返回值定义 
		String result_expected = "site_record";

		String unitspirit_result_d = "site_record";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104103_393_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name",
				"google_site_verification");
		Whitebox.setInternalState(unitspirit_fixture, "description",
				"google缂冩垹鐝宀冪槈閻拷");
		Whitebox.setInternalState(unitspirit_fixture, "value", "111");

		//返回值定义 
		String result_expected = "google_site_verification";

		String unitspirit_result_d = "google_site_verification";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104103_395_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "site_keywords");

		//返回值定义 
		String result_expected = "site_keywords";

		String unitspirit_result_d = "site_keywords";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104103_408_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name",
				"site_description");
		Whitebox.setInternalState(unitspirit_fixture, "description",
				"缂冩垹鐝幓蹇氬牚");
		Whitebox.setInternalState(unitspirit_fixture, "value", "erer");

		//返回值定义 
		String result_expected = "site_description";

		String unitspirit_result_d = "site_description";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104607_719_1_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "social_zhihu");
		Whitebox.setInternalState(unitspirit_fixture, "description",
				"闁活厹鍎扮粻顕�宕烽弶鎸庣祷");
		Whitebox.setInternalState(unitspirit_fixture, "value", "");

		//返回值定义 
		String result_expected = "social_zhihu";

		String unitspirit_result_d = "social_zhihu";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104607_719_11_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name",
				"site_description");
		Whitebox.setInternalState(unitspirit_fixture, "description",
				"缂傚啯鍨归悵顖炲箵韫囨艾鐗�");
		Whitebox.setInternalState(unitspirit_fixture, "value", "erer");

		//返回值定义 
		String result_expected = "site_description";

		String unitspirit_result_d = "site_description";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104607_719_12_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name",
				"google_site_verification");
		Whitebox.setInternalState(unitspirit_fixture, "description",
				"google缂傚啯鍨归悵顖涱殽瀹�鍐闁活噯鎷�");
		Whitebox.setInternalState(unitspirit_fixture, "value", "111");

		//返回值定义 
		String result_expected = "google_site_verification";

		String unitspirit_result_d = "google_site_verification";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104607_719_13_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name",
				"baidu_site_verification");
		Whitebox.setInternalState(unitspirit_fixture, "description",
				"闁谎勫劤鐎瑰磭绱旈幋鐘靛讲濡ょ姴鐭侀惁澶愭儘閿燂拷");
		Whitebox.setInternalState(unitspirit_fixture, "value", "123");

		//返回值定义 
		String result_expected = "baidu_site_verification";

		String unitspirit_result_d = "baidu_site_verification";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104607_719_2_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "social_weibo");
		Whitebox.setInternalState(unitspirit_fixture, "description",
				"鐎甸偊鍠栧畷銉╁捶閺夋寧绲�");
		Whitebox.setInternalState(unitspirit_fixture, "value", "333");

		//返回值定义 
		String result_expected = "social_weibo";

		String unitspirit_result_d = "social_weibo";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104607_719_3_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "social_twitter");
		Whitebox.setInternalState(unitspirit_fixture, "description", "twitter");
		Whitebox.setInternalState(unitspirit_fixture, "value", "");

		//返回值定义 
		String result_expected = "social_twitter";

		String unitspirit_result_d = "social_twitter";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104607_719_4_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "social_resume");
		Whitebox.setInternalState(unitspirit_fixture, "description",
				"缂佺媴鎷烽柛妯烘濠�鎾锤閿燂拷");
		Whitebox.setInternalState(unitspirit_fixture, "value", "");

		//返回值定义 
		String result_expected = "social_resume";

		String unitspirit_result_d = "social_resume";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104607_719_8_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "site_title");
		Whitebox.setInternalState(unitspirit_fixture, "description",
				"缂傚啯鍨归悵顖炲冀閸ヮ剦鏆�");
		Whitebox.setInternalState(unitspirit_fixture, "value", "11122");

		//返回值定义 
		String result_expected = "site_title";

		String unitspirit_result_d = "site_title";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	 * @date 2021-11-19 10:54:50
	 * @see cn.luischen.model.OptionsDomain#getName
	 * @category auto generate by UnitSpirit  
	 */
	@Test
	public void test_getName_20211119_104607_719_9_00() throws Throwable {

		cn.luischen.model.OptionsDomain unitspirit_fixture = new cn.luischen.model.OptionsDomain();
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "name", "site_record");
		Whitebox.setInternalState(unitspirit_fixture, "description",
				"濠㈣泛娲﹂、宥夊矗閿燂拷");
		Whitebox.setInternalState(unitspirit_fixture, "value", "222");

		//返回值定义 
		String result_expected = "site_record";

		String unitspirit_result_d = "site_record";
		unitspirit_fixture.setName(unitspirit_result_d);
		String unitspirit_result = unitspirit_fixture.getName();
		//getCaseAssertList 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

}
